package com.example.helloworld;
import java.io.*;
import java.util.*;
public class KeLong {
    public static void main(String[] args) throws IOException{
        // 读取aa的资源，写入到bb
        try (Scanner scanner = new Scanner(new File("C:/Users/47054/Desktop/hello/aa.txt"));
             PrintWriter writer = new PrintWriter(new File("C:/Users/47054/Desktop/hello/bb.txt"))) {
            while (scanner.hasNext()) {
                writer.print(scanner.nextLine());
            }
        }
    }
}
